package com.infosys.setl.fp.demo1;

import java.util.Comparator;

public class PriceComparator implements Comparator<SetlItem> {
    public int compare(SetlItem o1, SetlItem o2) {
        return o1.getPrice() - o2.getPrice();
    }
}
